import Vue from 'vue'
import 'lib-flexible/flexible'
import './veeValidate'
import {Button} from 'mint-ui'
import  './mock/mockServer'

import router from './router'
import App from './App.vue'
import store from './store'
import './filters'
import WshopHeader from './components/WshopHeader/WshopHeader'
import Star from './components/Star/Star'

Vue.config.productionTip = false

// 定义全局组件
Vue.component('WshopHeader', WshopHeader)
Vue.component(Button.name, Button)
Vue.component('Star', Star)

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
